package com.cloudloan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 用户实体类
 */
@Data
@TableName("sys_user")
@ApiModel(value = "SysUser", description = "用户对象")
public class User implements Serializable {
    private static final long serialVersionUID = -40356785423868312L;
    //id
    @ApiModelProperty(value = "主键")
    private Long id;
    //名字
    @ApiModelProperty(value = "名字")
    private String name;
    //电话
    @ApiModelProperty(value = "电话")
    private String phone;
    //密码
    @ApiModelProperty(value = "密码")
    private String password;
    //简介
    @ApiModelProperty(value = "简介")
    private String remark;
    //状态
    @ApiModelProperty(value = "状态")
    private Integer status;
    //提交时间
    @ApiModelProperty(value = "提交时间")
    private LocalDate submitTime;

    @TableField(exist = false)
    private String statusName;

}
